package cn.com.api.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiT_member_entrepreneur;
import cn.com.api.service.base.T_member_entrepreneurServiceBase;
import cn.com.util.PageInfo;

/**
 * 
 */
@Service
public interface ApiT_member_entrepreneurService extends T_member_entrepreneurServiceBase {

	public List<ApiT_member_entrepreneur> findT_member_entrepreneursByMap(Map paramMap, PageInfo page);

	// 根据条件查询企业主的记录集
	public List<Map<String, Object>> findMember_entrepreneursByMap(Map map);

	// 获取关注的企业主
	public List<ApiT_member_entrepreneur> findEntreListByFollowType(String user_id, Integer type, PageInfo page);

	public ApiT_member_entrepreneur findMemberEntById(String userId);

	// 根据用户id获取企业主id
	public ApiT_member_entrepreneur getEntrepreneurIdByUserId(Integer cid);

	public Map<String, Object> applyEntrepreneur(ApiT_member_entrepreneur entrepreneur);

	public Map<String, Object> getMemberByUserId(String conn_id, String user_id);

	public int updateT_member_entrepreneur_brief(ApiT_member_entrepreneur t_member_entrepreneur);

	public List<ApiT_member_entrepreneur> getEntrepreneurList(String keyword, PageInfo page);

}
